import Icon from "@ant-design/icons"


const ShowPwd = () => (
  <svg width="1em" height="1em" viewBox="0 0 12 11" version="1.1">
    <title>打开</title>
    <defs>
      <filter colorInterpolationFilters="auto" id="filter-1">
        <feColorMatrix
          in="SourceGraphic"
          type="matrix"
          values="0 0 0 0 0.094118 0 0 0 0 0.564706 0 0 0 0 1.000000 0 0 0 1.000000 0"
        ></feColorMatrix>
      </filter>
    </defs>
    <g
      id="页面-1"
      stroke="none"
      strokeWidth="1"
      fill="none"
      fillRule="evenodd"
    >
      <g id="新建数据源(弹框)" transform="translate(-872.000000, -387.000000)">
        <g id="编组-6" transform="translate(872.500000, 387.000000)">
          <rect
            id="矩形"
            fill="#D8D8D8"
            opacity="0"
            x="0"
            y="0"
            width="11"
            height="11"
          ></rect>
          <g filter="url(#filter-1)" id="眼睛">
            <g transform="translate(0.500000, 2.000000)">
              <path
                d="M9.92986445,2.92850573 C9.37357624,2.23794106 7.37541458,0 5,0 C2.62458542,0 0.639211993,2.23794106 0.0701355545,2.92850573 C-0.0233785182,3.04530477 -0.0233785182,3.21133902 0.0701355545,3.32813806 C0.629620821,4.01870273 2.62778248,6.25664379 5,6.25664379 C7.37221752,6.25664379 9.37357624,4.01870273 9.92986445,3.32813806 C10.0233785,3.21133902 10.0233785,3.04530477 9.92986445,2.92850573 Z M5,5.614035 C3.08176481,5.614035 1.40970313,3.91000274 0.735123758,3.12672336 C1.40970313,2.34344399 3.0977501,0.639411728 5,0.639411728 C6.9022499,0.639411728 8.59029687,2.34344399 9.27127037,3.12672336 C8.59029687,3.91000274 6.90224991,5.614035 5,5.614035 Z"
                id="形状"
                fill="#000000"
                fillRule="nonzero"
              ></path>
              <path
                d="M4.98401471,1.59852933 C4.15590763,1.59852933 3.4845942,2.26984275 3.4845942,3.09794984 C3.4845942,3.92605692 4.15590763,4.59737034 4.98401471,4.59737034 C5.81212179,4.59737034 6.48343522,3.92605692 6.48343522,3.09794984 C6.48343522,2.70027879 6.32546101,2.31889532 6.04426512,2.03769943 C5.76306923,1.75650353 5.38168575,1.59852933 4.98401471,1.59852933 Z M4.98401471,3.95795862 C4.63617363,3.95795862 4.32258322,3.74842421 4.18947019,3.42706095 C4.05635717,3.1056977 4.12993587,2.73579259 4.37589666,2.4898318 C4.62185745,2.24387101 4.99176256,2.17029231 5.31312581,2.30340532 C5.63448907,2.43651834 5.84402348,2.75010875 5.84402348,3.09794984 C5.84572758,3.3271442 5.75587262,3.54753704 5.59440462,3.71020555 C5.43293662,3.87287406 5.2132154,3.96435273 4.98401471,3.96435273 L4.98401471,3.95795862 Z"
                id="形状"
                fill="#000000"
                fillRule="nonzero"
              ></path>
            </g>
          </g>
        </g>
      </g>
    </g>
  </svg>
)

const showPwdIcon = (props) => <Icon component={ShowPwd} {...props} />

const hidePwd = () => (
  <svg width="1em" height="1em" viewBox="0 0 12 12" version="1.1">
    <title>关闭</title>
    <g
      id="页面-1"
      stroke="none"
      strokeWidth="1"
      fill="none"
      fillRule="evenodd"
    >
      <g id="新建数据源(弹框)" transform="translate(-872.000000, -361.000000)">
        <g id="编组-5" transform="translate(872.500000, 361.500000)">
          <rect
            id="矩形"
            fill="#D8D8D8"
            opacity="0"
            x="0"
            y="0"
            width="11"
            height="11"
          ></rect>
          <g
            id="编组-4"
            transform="translate(0.786814, 4.500000)"
            stroke="#1890FF"
            strokeLinecap="round"
            strokeWidth="0.7"
          >
            <path
              d="M0.203954547,0 C3.33510955,2.64666265 6.33510955,2.64666265 9.20395455,0"
              id="路径-30"
            ></path>
            <line
              x1="4.7163826"
              y1="1.98499699"
              x2="4.7163826"
              y2="3.63941173"
              id="路径-31"
            ></line>
            <line
              x1="6.30277891"
              y1="2.09582176"
              x2="7.12998628"
              y2="3.52858695"
              id="路径-31备份"
            ></line>
            <line
              x1="8"
              y1="1.39860067"
              x2="9.43276519"
              y2="2.22580804"
              id="路径-31备份-3"
            ></line>
            <line
              x1="3.12998628"
              y1="2.09582176"
              x2="2.30277891"
              y2="3.52858695"
              id="路径-31备份-2"
            ></line>
            <line
              x1="1.43276519"
              y1="1.39860067"
              x2="0"
              y2="2.22580804"
              id="路径-31备份-4"
            ></line>
          </g>
        </g>
      </g>
    </g>
  </svg>
)

const hidePwdIcon = (props) => <Icon component={hidePwd} {...props} />

const openNewPage = () => (
  <svg width="14px" height="14px" viewBox="0 0 12 12" version="1.1">
    <defs>
      <filter colorInterpolationFilters="auto" id="filter-1">
        <feColorMatrix
          in="SourceGraphic"
          type="matrix"
          values="0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 0 1.000000 0 0 0 1.000000 0"
        ></feColorMatrix>
      </filter>
    </defs>
    <g
      id="页面-1"
      stroke="none"
      strokeWidth="1"
      fill="none"
      fillRule="evenodd"
    >
      <g id="个人账户" transform="translate(-1418.000000, -45.000000)">
        <g id="编组-8" transform="translate(1418.000000, 45.000000)">
          <rect
            id="矩形"
            fill="#FFFFFF"
            opacity="0"
            x="0"
            y="0"
            width="12"
            height="12"
          ></rect>
          <g filter="url(#filter-1)" id="编组-7">
            <g transform="translate(1.500000, 1.200000)">
              <path
                stroke="currentColor"
                d="M0,4.00819724 L0,1.35152913 C-6.76353751e-17,0.799244385 0.44771525,0.351529135 1,0.351529135 L8,0.351529135 C8.55228475,0.351529135 9,0.799244385 9,1.35152913 L9,8.3 C9,8.85228475 8.55228475,9.3 8,9.3 L5.42256872,9.3 L5.42256872,9.3"
                id="矩形备份-11"
                transform="translate(4.500000, 4.825765) rotate(-180.000000) translate(-4.500000, -4.825765) "
              ></path>
              <polyline
                id="矩形备份-12"
                stroke="currentColor"
                transform="translate(7.000000, 2.340078) rotate(-90.000000) translate(-7.000000, -2.340078) "
                points="8.98854908 0.340078216 8.98854908 4.34007822 5.01145092 4.34007822"
              ></polyline>
              <line
                x1="9.96485418"
                y1="2.82225263"
                x2="2.98489329"
                y2="2.80221353"
                id="矩形备份-13"
                stroke="currentColor"
                transform="translate(6.474874, 2.812233) rotate(-225.000000) translate(-6.474874, -2.812233) "
              ></line>
            </g>
          </g>
        </g>
      </g>
    </g>
  </svg>
)

const BTOpenNewPage = (props) => <Icon component={openNewPage} {...props} />

const BHProject = () => (
  <svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1">
    <g
      id="团队管理"
      stroke="none"
      strokeWidth="1"
      fill="currentColor"
      fillRule="evenodd"
    >
      <g id="资源管理" transform="translate(-47.000000, -101.000000)">
        <g id="项目" transform="translate(47.000000, 101.000000)">
          <rect
            id="矩形"
            fillOpacity="0"
            fill="currentColor"
            x="0"
            y="0"
            width="14"
            height="14"
          ></rect>
          <g
            id="异常代码"
            transform="translate(1.000000, 1.000000)"
            fill="currentColor"
            fillRule="nonzero"
          >
            <rect
              id="矩形"
              opacity="0"
              x="0"
              y="0"
              width="11.960925"
              height="11.960925"
            ></rect>
            <path
              d="M11.960925,3.26207364 L11.960925,11.0355886 C11.960925,11.5178218 11.637431,11.9147166 11.2269634,11.9571171 L11.1535626,11.960925 L0.80681345,11.960925 C0.386545792,11.960925 0.0402279548,11.5906853 0.00325888484,11.1198524 L0,11.0355886 L0,3.26207364 L11.960925,3.26207364 Z M6.02177675,4.45599355 L6.00166277,4.51579818 L4.87624953,8.71734174 C4.80136169,8.99555613 4.95651941,9.28388184 5.22996666,9.37464547 C5.50341391,9.4654091 5.80018536,9.3270894 5.90652436,9.05931439 L5.92663834,8.99896078 L7.05206326,4.79741722 C7.12597569,4.51949149 6.97066019,4.23207822 6.6976731,4.14161382 C6.42468601,4.05114941 6.12846678,4.18892989 6.02177675,4.45599355 L6.02177675,4.45599355 Z M8.5178022,4.9105087 C8.34590835,4.96137016 8.21414162,5.09997406 8.17203335,5.27421894 C8.13260938,5.42771888 8.16327365,5.59079823 8.25575983,5.71949474 L8.29870936,5.77059732 L9.25231279,6.77260513 L8.29870936,7.77460125 C8.20602661,7.87297106 8.15464788,8.0031698 8.15517419,8.13832317 C8.15517419,8.27423852 8.20682983,8.40527139 8.29870936,8.5014961 C8.38824081,8.59734075 8.51333467,8.65202151 8.64448989,8.65264294 C8.75290194,8.6522525 8.85788967,8.61463258 8.94187773,8.54608091 L8.99027042,8.5014961 L10.2896544,7.13686435 C10.4644342,6.95088346 10.4822384,6.66688831 10.3320549,6.46053478 L10.2896544,6.40942052 L8.99027042,5.04370248 C8.86988418,4.9147746 8.68781493,4.86344609 8.51781388,4.9105087 L8.5178022,4.9105087 Z M3.124523,4.98498415 L3.07395773,5.02738469 L1.77456208,6.39202812 C1.59965238,6.57774096 1.58183612,6.86170164 1.73216154,7.06782038 L1.77456208,7.11783667 L3.07395773,8.48302908 C3.16415821,8.57626884 3.28869536,8.62836892 3.41841913,8.62715585 C3.5481429,8.62589988 3.67166595,8.57143914 3.76007563,8.47649963 C3.93106833,8.2929064 3.95098629,8.01495949 3.80791933,7.80886042 L3.76551879,7.75612256 L2.81245266,6.75412643 L3.76551879,5.75266762 C3.94096671,5.54651753 3.9339479,5.24157374 3.749201,5.04371416 C3.58595216,4.86818946 3.31704893,4.84293536 3.12397401,4.98499583 L3.124523,4.98498415 Z M0,0.92425011 C0,0.442554225 0.322395987,0.0467574051 0.733424298,0.00380787261 L0.80681345,0 L11.1535626,0 C11.5738302,0.000548987769 11.9190618,0.369153392 11.9576544,0.83943734 L11.960925,0.92425011 L11.960925,2.17471576 L0,2.17471576 L0,0.92425011 Z"
              id="形状"
            ></path>
          </g>
        </g>
      </g>
    </g>
  </svg>
)
const BHProjectIcon = (props) => <Icon component={BHProject} {...props} />

const BHResource = () => (
  <svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1">
    <g
      id="团队管理"
      stroke="none"
      strokeWidth="1"
      fill="currentColor"
      fillRule="evenodd"
    >
      <g id="资源管理" transform="translate(-27.000000, -141.000000)">
        <g transform="translate(27.000000, 141.000000)">
          <g
            id="33资源备份"
            transform="translate(0.000000, 0.000000)"
            fill="currentColor"
            fillRule="nonzero"
          >
            <rect
              id="矩形"
              opacity="0"
              x="0"
              y="0"
              width="14"
              height="14"
            ></rect>
            <path
              d="M12.25,3.5 L12.25,3.9375 L7,5.6875 L1.75,3.9375 L1.75,3.5 L7,1.75 L12.25,3.5 Z M7,6.5625 L3.0625,5.25 L1.75,5.6875 L1.75,6.125 L7,7.875 L12.25,6.125 L12.25,5.6875 L10.9375,5.25 L7,6.5625 Z M7,8.75 L3.0625,7.4375 L1.75,7.875 L1.75,8.3125 L7,10.0625 L12.25,8.3125 L12.25,7.875 L10.9375,7.4375 L7,8.75 Z M7,10.9375 L3.0625,9.625 L1.75,10.0625 L1.75,10.5 L7,12.25 L12.25,10.5 L12.25,10.0625 L10.9375,9.625 L7,10.9375 Z"
              id="形状"
            ></path>
          </g>
          <rect
            id="矩形"
            fillOpacity="0"
            fill="currentColor"
            x="0"
            y="0"
            width="14"
            height="14"
          ></rect>
        </g>
      </g>
    </g>
  </svg>
)
const BHResourceIcon = (props) => <Icon component={BHResource} {...props} />

const BHOrder = () => (
  <svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1">
    <g
      id="团队管理"
      stroke="none"
      strokeWidth="1"
      fill="currentColor"
      fillRule="evenodd"
    >
      <g id="资源管理" transform="translate(-46.000000, -262.000000)">
        <g id="订单管理" transform="translate(46.000000, 262.000000)">
          <g
            id="订单管理备份-2"
            transform="translate(0.000000, -0.000000)"
            fill="currentColor"
            fillRule="nonzero"
          >
            <rect
              id="矩形"
              opacity="0"
              x="0"
              y="0"
              width="14"
              height="14"
            ></rect>
            <path
              d="M10.0009,9.8756 C9.8,9.8756 9.6362,10.0394 9.6362,10.2403 C9.6362,10.4412 9.8,10.605 10.0009,10.605 C10.2018,10.605 10.3656,10.4412 10.3656,10.2403 C10.3656,10.0394 10.2018,9.8756 10.0009,9.8756 Z"
              id="路径"
            ></path>
            <path
              d="M12.4488,9.9029 L11.5164,8.288 C11.395724,8.07973243 11.1733033,7.95145379 10.9326,7.9513 L9.0678,7.9513 C8.8277,7.9513 8.6037,8.0808 8.484,8.288 L7.5516,9.9029 C7.43190094,10.1116589 7.43190094,10.3682411 7.5516,10.577 L8.484,12.1919 C8.60459318,12.4003423 8.8269874,12.5288723 9.0678,12.5293 L10.9326,12.5293 C11.1727,12.5293 11.3967,12.3998 11.5164,12.1919 L12.4488,10.5777 C12.5691972,10.3688775 12.5691972,10.1117225 12.4488,9.9029 Z M10.0009,11.3687 C9.3786,11.3687 8.8725,10.8626 8.8725,10.2403 C8.8725,9.618 9.3786,9.1119 10.0009,9.1119 C10.6232,9.1119 11.1293,9.618 11.1293,10.2403 C11.1293,10.8626 10.6232,11.3687 10.0009,11.3687 Z M7.9884,3.3789 L5.5426,3.3789 C4.9581,3.3789 4.4849,2.905 4.4849,2.3212 C4.4849,1.7367 4.9588,1.2635 5.5426,1.2635 L7.9884,1.2635 C8.5729,1.2635 9.04610077,1.7374 9.04610077,2.3212 C9.0468,2.9057 8.5729,3.3789 7.9884,3.3789 Z"
              id="形状"
            ></path>
            <path
              d="M10.0254,2.016 L9.7202,2.016 C9.7412,2.1049 9.7531,2.1973 9.7531,2.2925 L9.7531,2.5991 C9.7531,3.3908 9.1112,4.0327 8.3195,4.0327 L5.2115,4.0327 C4.4198,4.0327 3.7779,3.3908 3.7779,2.5991 L3.7779,2.2925 C3.7779,2.1973 3.7898,2.1049 3.8108,2.016 L3.5056,2.016 C2.5319,2.016 1.7395,2.8084 1.7395,3.7821 L1.7395,10.7751 C1.7395,11.7488 2.5319,12.5412 3.5056,12.5412 L7.8484,12.5412 L6.776,10.6841 C6.61780562,10.4093792 6.61780562,10.0712208 6.776,9.7965 L8.0038,7.6699 C8.162,7.3962 8.4567,7.2261 8.7724,7.2261 L11.228,7.2261 C11.4366,7.2261 11.6347,7.3003 11.7915005,7.4291 L11.7915005,3.7821 C11.7922,2.8084 10.9998,2.016 10.0254,2.016 Z M5.8443,9.6663 L4.6879,9.6663 C4.4415,9.6663 4.2413,9.4668 4.2413,9.2197 C4.2413,8.9733 4.4408,8.7731 4.6879,8.7731 L5.8443,8.7731 C6.0907,8.7731 6.2909,8.9726 6.2909,9.2197 C6.2909,9.4668 6.0907,9.6663 5.8443,9.6663 Z M8.9292,6.5863 L4.6879,6.5863 C4.4415,6.5863 4.2413,6.3868 4.2413,6.1397 C4.2413,5.8926 4.4408,5.6931 4.6879,5.6931 L8.9292,5.6931 C9.1756,5.6931 9.3758,5.8926 9.3758,6.1397 C9.3758,6.3868 9.1756,6.5863 8.9292,6.5863 Z"
              id="形状"
            ></path>
          </g>
          <rect
            id="矩形"
            fillOpacity="0"
            fill="currentColor"
            x="0"
            y="0"
            width="14"
            height="14"
          ></rect>
        </g>
      </g>
    </g>
  </svg>
)

const BHOrderIcon = (props) => {
  return <Icon component={BHOrder} {...props} />
}

const BHTeam = () => (
  <svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1">
    <title>角色管理-成员列表</title>
    <g
      id="团队管理"
      stroke="none"
      strokeWidth="1"
      fill="currentColor"
      fillRule="evenodd"
    >
      <g id="资源管理" transform="translate(-46.000000, -181.000000)">
        <g id="成员管理" transform="translate(46.000000, 181.000000)">
          <rect
            id="矩形备份-6"
            fillOpacity="0"
            fill="currentColor"
            x="1"
            y="0"
            width="14"
            height="14"
          ></rect>
          <g
            id="角色管理-成员列表备份-2"
            transform="translate(0.000000, 0.000000)"
            fill="currentColor"
            fillRule="nonzero"
          >
            <rect
              id="矩形"
              opacity="0"
              x="0"
              y="0"
              width="14"
              height="14"
            ></rect>
            <path
              d="M7,8.36111112 L7,13.0277778 L2.33333334,13.0277778 C2.33333334,10.4504489 4.42267117,8.36111112 7,8.36111112 L7,8.36111112 Z M6.99999991,7.77777778 C6.07167904,7.77798414 5.18132044,7.40930147 4.52489837,6.75287941 C3.86847631,6.09645734 3.49979364,5.20609874 3.49999991,4.27777778 C3.49999991,2.34422222 5.06644444,0.777777779 6.99999991,0.777777779 C8.93355556,0.777777779 10.4999999,2.34422222 10.4999999,4.27777778 C10.4999999,6.21133334 8.93355556,7.77777778 6.99999991,7.77777778 Z M7.77777778,8.55555556 L12.4444444,8.55555556 L12.4444444,9.72222222 L7.77777778,9.72222222 L7.77777778,8.55555556 Z M7.77777778,10.1111111 L12.4444444,10.1111111 L12.4444444,11.2777778 L7.77777778,11.2777778 L7.77777778,10.1111111 Z M7.77777778,11.6666667 L12.4444444,11.6666667 L12.4444444,12.8333333 L7.77777778,12.8333333 L7.77777778,11.6666667 Z"
              id="形状"
            ></path>
          </g>
        </g>
      </g>
    </g>
  </svg>
)

const BHTeamIcon = (props) => <Icon component={BHTeam} {...props} />

const Icons = {
  hidePwdIcon,
  showPwdIcon,
  BTOpenNewPage,
  BHProjectIcon,
  BHResourceIcon,
  BHOrderIcon,
  BHTeamIcon
}

export default Icons
